import { useGlobalIconFont } from './components/iconfont/helper';

export default {
  pages: [
    'pages/home/index',
    'pages/index/index',
    'pages/my/index',
    'pages/test/index',
    'pages/search/index',
    'pages/accountDetail/index',
    'pages/personalSituation/index',
    'pages/accountRequirement/index',
    'pages/accountBasicInfo/index',
    'pages/seeMe/index',
    'pages/suggest/index',
    'pages/certification/index',
    'pages/realNameCertification/index',
    'pages/jobCertification/index',
    'pages/educationCertification/index',
  ],
  tabBar: {
    selectedColor: "#617cfa",//选中的颜色
    list: [{
      'iconPath': 'resource/new.png',
      'selectedIconPath': 'resource/new-selected.png',
      pagePath: 'pages/home/index',
      text: '最新'
    },
    // {
    //   'iconPath': 'resource/my.png',
    //   'selectedIconPath': 'resource/my-selected.png',
    //   pagePath: 'pages/index/index',
    //   text: '盲盒'
    // },
    {
      'iconPath': 'resource/search.png',
      'selectedIconPath': 'resource/search-selected.png',
      pagePath: 'pages/search/index',
      text: '搜索'
    }, 
    {
      'iconPath': 'resource/my.png',
      'selectedIconPath': 'resource/my-selected.png',
      pagePath: 'pages/my/index',
      text: '我的'
    }],
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  usingComponents: Object.assign(useGlobalIconFont()),
}
